import Layout from '@/layout'
// 员工管理
export default {
  // 如果有 hidden: true 的话就不再左侧栏显示
  // hidden: true,
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import('@/views/employees/employees.vue'),
      meta: { title: '员工管理', icon: 'people' }

    },
    // 员工详情页
    {
      path: 'detail/:userId',
      name: 'detail',
      component: () => import('@/views/employees/detail.vue'),
      hidden: true
    },
    // 配置打印页面
    {
      path: 'print/:id',
      component: () => import('@/views/employees/components/print.vue'),
      hidden: true
    }
  ]
}
